import config from './config'
import level from './data/level'

export default {
  version: config.version,
  state: {
    scene: 'plot',
    polt: {
      name: 'start'
    },
    interface: {
      freeContent: {
        left: 'CharacterAttribute',
        right: 'Bag'
      }
    },
    map: {
      level: 1,
      position: {
        current: 1,
        max: 1,
      },
    },
    event: {
      type: 'common',
      common: {
        id: 1,
        progress: 'start'
      },
      fight: {
        id: 1
      },
      lastComplete: false
    },
    character: {
      attribute: {
        level: 1,
        exp: {
          current: 0,
          max: level.level1.expMax
        },
        hp: {
          current: level.level1.hpBase,
          max: level.level1.hpBase,
          recoverySpeed: 0.14
        },
        mp: {
          current: level.level1.mpBase,
          max: level.level1.mpBase
        },
        atk: level.level1.atkBase,
        def: 0,
        aspd: 1000,
      }
    },
    bag: {
      gold: 0,
    },
  },
  setting: {
    event: {
      fight: {
        ready: {
          autoContinueSearch: false
        }
      }
    }
  }
}